
import http from "../utils/http.js"
// 商品分类
export function _category(data) {
	return http({
		url: "/shop/goods/category/all",
		method: "get",
		data
	})
};
// 商品详情
export function _goodslist(data) {
	return http({
		url: "/shop/goods/list/v2",
		method: "post",
		data:[
			{
				categoryId:data
			}
		]
	})
}
